<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
var f,l = 0;
var arr = [1,2,3];
[0,1,2,3].forEach(function(e){
	for(var i = 0;i < 5;i++){

		for(var j in arr){
			
		}

	}
})




	do{
		for(var i =0;i<5;i++){
			while(f<3){
				console.log(1);
				f++;
			}
		}
		l++;
	}
	while(l<3)



</script>
</body>
</html>